<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>您有新的消息</title>
		<script type="text/javascript">
		function loadMsgCount(){
         document.getElementById("newMsgCount").innerHTML = window.dialogArguments;
         
         setTimeout("window.close()",20000); // 20秒自动关闭
         }
</script>

	</head>

	<body onload="loadMsgCount();">
		<center>
		<br />
		您收到新的消息:<span id="newMsgCount" style="color: red">0</span>条
		<br />
		<br />
		<input type="button" value="我知道了" onclick="window.close();">
		</center>
	</body>
</html>
